﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gnosis.Babel;
using Gnosis.SQLite.Columns;

namespace Gnosis.SQLite.Numeric
{
    public class Count
        : NumericFunction, IInteger
    {
        public Count(IColumnName column)
            : base("count", column)
        {
        }

        public static readonly Count All = new Count(ColumnName.All);

        #region IInteger Members

        new public IIntegerColumnName As(string alias)
        {
            return new IntegerColumnName(ToString(), alias);
        }

        #endregion
    }
}
